package com.example.spark.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author gky
 * @date 2023/08/26 10:55
 * @description 指导老师
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Adviser implements Serializable {
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
    private String photo;
    private String intro;
    private String study;
    private String success;

}
